package com.ctyon.common.event;

/**
 * CreateDate：19-7-6 on 下午3:34
 * Describe:
 * Coder: lee
 */
public class ChatMessageEvent {


    private String type;
    private String from;
    private byte[] data;

    public ChatMessageEvent(String type, String from, byte[] data) {
        this.type = type;
        this.data = data;
        this.from = from;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }
}
